package com.cuckoo.dao;

import com.cuckoo.pojo.AuthCode;
import org.apache.ibatis.annotations.Param;

public interface AuthCodeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(AuthCode record);

    int insertSelective(AuthCode record);

    AuthCode selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(AuthCode record);

    int updateByPrimaryKey(AuthCode record);

    AuthCode getAuthCodeByPhoneAndCodeAndType(@Param("phone") String phone, @Param("code") String code, @Param("type") Integer type);
}